package bingo.component.dhtmlxgrid.config;

import java.util.LinkedList;
import java.util.List;

import bingo.component.amchart.graphics.BaseGraphic;

public class Settings extends BaseGraphic {
	private String colwidth = "%";
	private int splitat;
	private boolean showOrHideColumn = true;
	
	public boolean isShowOrHideColumn() {
		return showOrHideColumn;
	}

	public void setShowOrHideColumn(boolean showOrHideColumn) {
		this.showOrHideColumn = showOrHideColumn;
	}

	public Settings() {
		
	}
	
	public Settings(String colwidth, int splitat) {
		
	}

	public String getColwidth() {
		return colwidth;
	}

	public void setColwidth(String colwidth) {
		this.colwidth = colwidth;
	}

	public int getSplitat() {
		return splitat;
	}

	public void setSplitat(int splitat) {
		this.splitat = splitat;
	}

	public GraphicType getGraphicType() {
		return null;
	}

	public boolean isRootElement() {
		return false;
	}

	@Override
	protected List<String> getSubElementProperties() {
		List<String> subElementproperties = new LinkedList<String>();
		subElementproperties.add("colwidth");
		subElementproperties.add("splitat");
		subElementproperties.add("showOrHideColumn");
		return subElementproperties;
	}

}
